package com.atguigu.gmall.order.client.impl;

import com.atguigu.gmall.common.result.Result;
import com.atguigu.gmall.order.client.OrderFeignClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @author: atguigu
 * @create: 2023-08-10 10:43
 */
@Slf4j
@Component
public class OrderDegradeFeignClient  implements OrderFeignClient {
    @Override
    public Result<Map> orderTadeData() {
        log.error("[订单服务]remote调用orderTadeData服务降级");
        return null;
    }
}
